package top.jamewen.framework.sbmp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.jamewen.framework.sbmp.common.model.UmsAdmin;

import java.util.List;

/**
 * <p>
 * 后台用户表 Mapper 接口
 * </p>
 *
 * @author jamewen
 * @since 2021-01-13
 */
public interface UmsAdminMapper extends BaseMapper<UmsAdmin> {

    /**
     * 获取资源相关用户ID列表
     */
    List<Long> getAdminIdList(Long resourceId);
}
